<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="/WEB-INF/c.tld" %>
<%@ taglib prefix="fmt" uri="/WEB-INF/fmt.tld" %>
<c:if test="${obj !=null}">
	<form action="${contextPath }/user/info/update.do" method="post">
		<table width="50%">
			<caption>用户信息管理</caption>
			<tr>
				<td >帐号：</td><td>${obj.username }<input name="user.id" value="${obj.id }" type="hidden"/></td>
			</tr>
			<tr>
				<td>昵称：</td><td><input name="user.nickName" value="${obj.nickName }"/></td>
				</tr>
				<tr>
				<td>邮件：</td><td>${obj.email}</td>
				</tr>
				<tr>
				<td>地址：</td><td><input name="user.address" value="${obj.address }"/></td>
				</tr>
				<tr>
				<td>手机：</td><td><input name="user.phone" value="${obj.phone }"/></td>
				</tr>
				<tr>
				<td>座机：</td><td><input name="user.telephone" value="${obj.telephone }"/></td>
				</tr>
				<tr>
				<td>注册时间：</td><td><fmt:formatDate pattern="yyyy-MM-dd hh:mm:ss" value="${obj.registTime}"/></td>
				</tr>
			<tr>
				<td><button type="submit">提交</button></td><td></td>
			</tr>
		</table>			
	</form>
</c:if>